<?php

class Filter_TableMatchesRegEx {

	var $sRegExp;
	
	function Filter_TableMatchesRegEx( $sRegExp ){
		$this->sRegExp = $sRegExp;	
	}

	function ShouldIncludeTable( $sTableName ) {
		return ( preg_match ( $this->sRegExp, $sTableName ) );
	}
}


?>
